package com.cn.ant.modules.wechat.dao;

import com.cn.ant.common.persistence.MyBatisRepository;
import com.cn.ant.modules.wechat.entity.WeiXinNewListItem;

import java.util.List;
import java.util.Map;

/**
 * 消息列表条目Mapper接口
 * @author AntDream
 * @version 2015-08-01
 */
@MyBatisRepository
public interface WeiXinNewListItemMapper{

    public int delete(String id);

    public int insert(WeiXinNewListItem record);

    public WeiXinNewListItem get(String id);

    public int update(WeiXinNewListItem record);

    public List<WeiXinNewListItem> query(Map<String,Object> param);

    public int queryCount(Map<String, Object> param);

    public List<WeiXinNewListItem> queryByTypeId(String typeId);
}
